﻿using Lanbt.Core.Entity.EntityDB;

namespace Lanbt.Core.Repository.SqlService.IRepository
{
    public interface IPowerRepository:IRepositoryBase<lanbt_power>
    {
        /// <summary>
        /// 查询显示的菜单(启用的)
        /// </summary>
        /// <returns></returns>
        Task<IList<lanbt_power>> QueryMenuByShow();

        /// <summary>
        /// 查询所有启用的权限
        /// </summary>
        /// <returns></returns>
        Task<IList<lanbt_power>> QueryAllByEnable();
    }
}
